/**
 * 
 */
package com.quanyan.place.mapper;

import java.util.List;

import com.quanyan.place.entity.apireq.PlaceRefundInfo;
import com.quanyan.place.entity.apireq.PlaceRefundItem;

/**
 * @des商家端-退款管理
 * @author tim
 * @date 2017年4月19日
 */
public interface RefundOrderMapper {
	/**
	 * 记录退款信息
	 * @param placeRefundInfo
	 * @return
	 */
	int insertRefundOrder(PlaceRefundInfo placeRefundInfo);
	/**
	 * 记录退款明细
	 * @param placeRefundItem
	 * @return
	 */
	int insertRefundItem(PlaceRefundItem placeRefundItem);
	int updateRefundOrderStatus(PlaceRefundInfo placeRefundInfo);
	
	/**
	 *  获取退款单信息
	 * @param refundNo
	 * @return
	 */
	List<PlaceRefundInfo>  getRefundOrderInfo(String refundNo);
}
